﻿<title>{$webTitle}-{:config("web_webname")}</title>
<div class="app-header t-v bg-bai dl2 bb b-hui"><span class="header-l t-v nowrap" onclick="x.mclose();"><i
        class="icon icon-pleft f9"></i>返回</span> <span class="header-c t-v t-c nowrap">开通秒赞代理</span> <span
        class="header-r t-v t-r nowrap" onclick=""><i class="icon  f10"></i></span></div>
<div class="app-content bg-bai f6">
    <div class="p4">
        <div class="pb2">
            <div class="radio pt2 pb2"><i class="icon icon-profile cheng f10 mr1 v-2"></i> <label class="i-checks"> <input
                    class="vipvar" type="radio" name="dlver" value="1" onclick="ajax_get_rmb(1);"> <i></i> <b>银牌代理 -
                永久</b>
            </label></div>
            <div class="radio pt2 pb2"><i class="icon icon-profile cheng f10 mr1 v-2"></i> <label class="i-checks"> <input
                    class="vipvar" type="radio" name="dlver" value="2" onclick="ajax_get_rmb(2);" checked="checked">
                <i></i> <b>金牌代理 - 永久</b>
            </label></div>
            <div class="radio pt2 pb2"><i class="icon icon-profile cheng f10 mr1 v-2"></i> <label class="i-checks"> <input
                    class="vipvar" type="radio" name="dlver" value="3" onclick="ajax_get_rmb(3);" checked="checked">
                <i></i> <b>钻石代理 - 永久</b>
            </label></div>
        </div>
        <hr/>
        <div class="pt4 pb4 f5" id="dlktjiage">-</div>
        <div class="box_list t-v">
                        {if condition="config('sys_is_alipay') eq 1"}
					<div box-type="alipay" class="h8 pl1 pr2 t-v f3 b b-hui mr2 active"><i
					class="icon icon-zfbpay f8 lan pr1" style="padding-left: 6px;"></i> 支付宝<img src="//cdn.istt.cn/cdn/img/box.png"></div>
					{/if}
					{if condition="config('sys_is_wxpay') eq 1"}
                        <div box-type="wxpay" class="h8 pl1 pr2 t-v f3 b b-hui mr2"><i
                    class="icon icon-wxpay f8 lv pr1" style="padding-left: 6px;"></i> 微信<img src="//cdn.istt.cn/cdn/img/box.png"></div>
					{/if}
					{if condition="config('sys_is_qqpay') eq 1"}
                        <div box-type="qqpay" class="h8 pl1 pr2 t-v f3 b b-hui mr2"><i
                    class="icon icon-qqpay f8 dlan pr1" style="padding-left: 6px;"></i> QQ<img src="//cdn.istt.cn/cdn/img/box.png"></div>
					{/if}
					 <input type="hidden" name="type" value="alipay"></div>
        <div class="mt6">
            <button class="btn btn-qing btn-md w" onclick="ajax_shop_dl();">确 定 开 通</button>
        </div>
        <div class="in-list in-t top mt8 mb3 f2 hui">
            <dl>
                <dt>1、</dt>
                <dd>
                    银牌代理：赠送<font class="hong">{:config('sys_dl_give_vip_1')}</font>天秒赞会员和<font class="hong">{:config('sys_dl_give_rmb_1')}</font>元余额<font class="hong"> 后台充值{:config('sys_dl_give_z_1')}折</font>
                </dd>
            </dl>
            <dl>
                <dt>2、</dt>
                <dd>
                    金牌代理：赠送<font class="hong">{:config('sys_dl_give_vip_2')}</font>天秒赞会员和<font class="hong">{:config('sys_dl_give_rmb_2')}</font>元余额<font class="hong"> 后台充值{:config('sys_dl_give_z_2')}折</font>
                </dd>
            </dl>
            <dl>
                <dt>3、</dt>
                <dd>
                    钻石代理：赠送<font class="hong">{:config('sys_dl_give_vip_3')}</font>天秒赞会员和<font class="hong">{:config('sys_dl_give_rmb_3')}</font>元余额<font class="hong"> 后台充值{:config('sys_dl_give_z_3')}折</font>
                </dd>
            </dl>
        </div>
    </div>
</div>
<script>
    function ajax_get_rmb(id) {
        x.ajax('{:url('user_ajax/shop',['act'=>'price'])}', 'type=dl&id=' + id);
    }

    function ajax_shop_dl() {
        var ver = $('input[name="dlver"]:checked').val();
        var type = $('input[name="type"]').val();
        x.ajax('{:url('user_ajax/shop',['act'=>'dl'])}', 'shopid=' + ver + '&shop=dl&pay_type=' + type);
    }

    $(function ($) {
        ajax_get_rmb(3);
    });
</script>